package com.base.api.service;

public class ClassifyBountyScreenSort {

    private String sortKey;

    private String sortValue;

    private Integer sort;

    public ClassifyBountyScreenSort() {
    }

    public ClassifyBountyScreenSort(String sortKey, String sortValue) {
        this.sortKey = sortKey;
        this.sortValue = sortValue;
    }

    public String getSortKey() {
        return sortKey;
    }

    public void setSortKey(String sortKey) {
        this.sort = Integer.valueOf(sortKey);
        if ("1".equals(sortKey)) {
            this.sortKey = "commodity_sales";
        }
        if ("2".equals(sortKey)) {
            this.sortKey = "create_time";
        }
        if ("3".equals(sortKey)) {
            this.sortKey = "commodity_real_price";
        }

    }

    public String getSortValue() {
        return sortValue;
    }

    public void setSortValue(String sortValue) {
        this.sortValue = sortValue;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}
